<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>     
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
	response.setContentType("text/html;charset=UTF-8");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注   册</title>
<link type="text/css" rel="stylesheet" href="/yh_vote/css/style.css" />
</head>
<body>
<div id="header" class="wrap">
	<img src="/yh_vote/images/logo.gif" />
</div>
<div id="navbar" class="wrap">
	<div class="search">
	<!--  
		<form method="get" action="index.html">
			<input type="text" name="keywords" class="input-text" /><input type="submit" name="submit" class="input-button" value="" />
		</form>
	-->	
	</div>
</div>
<div id="register" class="box">
	<h2>新用户注册</h2>
	<div class="content">
	   <form method="post" action="/yh_vote/register/registerAction">
	   <s:token></s:token>
	<%--  <input name="token" type="hidden" value="${token }"/> --%>
			<dl>
				<dt>用户ID：</dt>
				<dd><input type="text" class="input-text" name="vuUserId" value="<s:property value='userId'/>"/>
					<span style="color: red"><s:property value='fieldErrors.vuUserId[0]'/></span></dd>
				<dt>用户名：</dt>
				<dd><input type="text" class="input-text" name="vuUserName" value="<s:property value='userName'/>"/>
					<span style="color: red"><s:property value='fieldErrors.vuUserName[0]'/></span></dd>
				<dt>密码：</dt>
				<dd><input type="password" class="input-text" name="vuPassword" value="<s:property value='password'/>"/>
					<span style="color: red"><s:property value='fieldErrors.vuPassword[0]'/></span></dd>
				<dt>确认密码：</dt>
				<dd><input type="password" class="input-text" name="confirmPassword" value="<s:property value='confirmPassword'/>"/>
					<span style="color: red"><s:property value='fieldErrors.confirmPassword[0]'/></span></dd>
				<dt></dt>
				<dd><input type="submit" class="input-button" name="submit" value="" /></dd>
			</dl>
		</form>
		<div class="error"></div>
		<div class="error"><s:actionerror/></div>
		<s:debug></s:debug>
	</div>
</div>
<div id="footer" class="wrap">
	云和数据 &copy; 版权所有
</div>
</body>
</html>
